<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="jstl"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>无标题文档</title>
		<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px; 
}
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
-->
</style>
<script type="text/javascript" src="<%=basePath %>js/jquery126.js"></script>
<script type="text/javascript">
		$(function(){
			$("#next").click(function(){
				$("#myForm").attr("action","ShowServlet");	
				$("#currPage").val($("#next").attr("page"));
				$("#myForm").submit();
			});
			
			$("#selectClass").change(function(){
				$("#currClass").html($("#selectClass option:selected").text());
				$.getJSON("<%=basePath %>admin/lixz!ajax.my",{"classId":$("#selectClass option:selected").val()},function(json){
					alert(json.name);
					alert(json.feedbackPersonId);
					$("#currTeacher").html(json.name+"(ID："+json.feedbackPersonId+")");
				});
				//$("#id").val($(this).parent().find(".forId").val());
				//$("#actionForm").attr("action", "ShowListServlet");
				//$("#actionForm").submit();
			});
			
		});
		
</script>
	</head>

	<body>
	
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td height="30" background="<%=basePath %>admin/tab/images/tab_05.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="12" height="30">
								<img src="<%=basePath %>admin/tab/images/tab_03.gif" width="12" height="30" />
							</td>
							<td>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="46%" valign="middle">
											<table width="100%" border="0" cellspacing="0"
												cellpadding="0">
												<tr>
													<td width="5%">
														<div align="center">
															<img src="<%=basePath %>admin/tab/images/tb.gif" width="16" height="16" />
														</div>
													</td>
													<td width="95%" class="STYLE1">
														<span class="STYLE3">你当前的位置</span>：[班级管理]-[成员管理]
													</td>
												</tr>
											</table>
										</td>
										<td width="54%">
											
										</td>
									</tr>
								</table>
							</td>
							<td width="16">
								<img src="<%=basePath %>admin/tab/images/tab_07.gif" width="16" height="30" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="8" background="<%=basePath %>admin/tab/images/tab_12.gif">
								&nbsp;
							</td>
							<td>
							<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6">
								<tr>
									<td width="5%">
										<div align="center" style="padding:7px 0 0 0;">
											<img src="<%=basePath %>admin/tab/images/33.gif" width="16" height="15" />
										</div>
									</td>
									<td width="95%" class="STYLE1">
										<span class="STYLE3">请选择一个班级管理</span>：
										<select id="selectClass">
											<option value="-1">&nbsp;请选择&nbsp;&nbsp;&nbsp; </option>
											<jstl:forEach var="each" items="${classes}" varStatus="i">
												<option id="${each.classId}" value="${each.classId}"> &nbsp;${each.name }&nbsp;(第${each.stage }阶段)&nbsp; </option>
											</jstl:forEach>
										</select>
									</td>
								</tr>
								
								<tr>
									<td width="5%">
										<div align="center" style="padding:7px 0 0 0;">
											<img src="<%=basePath %>admin/tab/images/33.gif" width="16" height="15" />
										</div>
									</td>
									<td width="95%" class="STYLE1">
										<span class="STYLE3">当前班级：</span>
										<span  id="currClass">(请选择一个班级)</span>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
										<span class="STYLE3">当前班级讲师：</span>
										<span  id="currTeacher">(请选择一个班级)</span>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
										<span  class="STYLE3" id="currClass">修改班级讲师为：</span>
										<select id="selectTeather">
											<option value="null">&nbsp;请选择&nbsp;&nbsp;&nbsp; </option>
											<jstl:forEach var="each" items="${classes}" varStatus="i">
												<option id="${each.classId}" value="${each.classId}"> &nbsp;${each.name }&nbsp;第${each.stage }阶段&nbsp; </option>
											</jstl:forEach>
										</select>
									</td>
								</tr>
								
							</table>
								<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6">
									<tr>
										<td width="12%" height="22" background="<%=basePath %>admin/tab/images/bg.gif"
											bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">班级学员</span>
											</div>
										</td>
										<td width="14%" height="22" background="<%=basePath %>admin/tab/images/bg.gif"
											bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">班级讲师</span>
											</div>
										</td>
										<td width="18%" background="<%=basePath %>admin/tab/images/bg.gif" bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">其他学生</span>
											</div>
										</td>
									</tr>
							
									<tr>
										<td height="20" bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">13813916585
													<jstl:forEach var="eachList" items="${classes}" >
    												
    													<li>
    													</li>
    													<jstl:if test="${i.index%2==0 }" >
    														
    													</jstl:if>
    												</jstl:forEach>
												</span>
											</div>
										</td>
										<td height="20" bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">13813916585
													<jstl:forEach var="eachList" items="${lists}" >
    													
    													<jstl:if test="${i.index%2==0 }" >
    	
    													</jstl:if>
    												</jstl:forEach>
												</span>
											</div>
										</td>
										<td bgcolor="#FFFFFF">
											<div align="center">
												<span class="STYLE1">13813916585
													<jstl:forEach var="eachList" items="${classes}" >
    													
    													<jstl:if test="${i.index%2==0 }" >
    	
    													</jstl:if>
    												</jstl:forEach>
												</span>
											</div>
										</td>
									</tr>
									
								</table>
							</td>
							<td width="8" background="<%=basePath %>admin/tab/images/tab_15.gif">
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td height="35" background="<%=basePath %>admin/tab/images/tab_19.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="12" height="35">
								<img src="<%=basePath %>admin/tab/images/tab_18.gif" width="12" height="35" />
							</td>
							<td width="16">
								<img src="<%=basePath %>admin/tab/images/tab_20.gif" width="16" height="35" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>